<?php
// +----------------------------------------------------------------------
// | [RhaPHP System] Copyright (c) 2017 http://www.rhaphp.com/
// +----------------------------------------------------------------------
// | [RhaPHP] 并不是自由软件,你可免费使用,未经许可不能去掉RhaPHP相关版权
// +----------------------------------------------------------------------
// | Author: Geeson <qimengkeji@vip.qq.com>
// +----------------------------------------------------------------------


namespace addons\hlapp\model;

use addons\hlapp\dto\PageInfo;
use think\Db;
use think\Model;

class HlappProjectRolesMember extends CommonModel
{
    public function projects()
    {
        return $this->belongsTo('HlappProject','p_id');
    }

    public function part()
    {
        return $this->hasOne('HlappPart','id','r_id');
    }
}